package site.myvps.querywhois.bean;

public class QueryResult {
    private Integer status;
    private String msg;

    public QueryResult(Integer status) {
        this.status = status;
    }

    public QueryResult(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "QueryResult [status=" + status + ", msg=" + msg + "]";
    }

}
